package com.elh.lock;

import java.util.concurrent.TimeUnit;

public interface IUnFairDistributeLock {

    public String lock(String key, long timeOut, TimeUnit timeUnit);

    public boolean unlock(String key,String value);

}
